@echo off

REM 设置Java路径
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_301
set PATH=%JAVA_HOME%\bin;%PATH%

REM 编译并启动图形界面
javac -d bin -sourcepath src -encoding UTF-8 src/gui/GUILauncher.java
java -cp bin -Dfile.encoding=UTF-8 gui.GUILauncher

pause